<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>数据库操作</title>
    <style>
        h1{
            color:red;
        }
        textarea{
            width: 400px;
            height: 200px;
            display: block;
            line-height: 1.5;
            padding: 10px;
        }
        button{
            padding: 6px;
            margin-top: 10px;
        }
    </style>
</head>
<body>
<h1>命令行执行数据库操作</h1>
<form action="execute.jsp" method="post">
    <p>可一次执行多条语句，或执行选择的内容~</p>
    <textarea autofocus name="sql">use db;
show tables;
desc chengyu;
select * from chengyu limit 3;</textarea>
    <button>执行 Execute</button>
</form>
</body>
</html>
